package com.ark.cloud.java.persistence.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;

/**
 * Copyright(c): 2021 Cloud-Ark Inc.
 * Author(s): Ma Wei (mawei@cloud-ark.com)
 */
@Data
@TableName("detecting_record")
@Builder
@AllArgsConstructor
@NoArgsConstructor

public class DetectingRecord {

    private Long id;
    @TableField("timestamp")
    private String timestamp;//探测到此目标的时间
    @TableField("generate_type")
    private short generateType;//探测到此目标的方式 EContactGenerateType
    @TableField("sensor_count")
    private int sensorCount;//此时刻探测到此目标的传感器数量 数量可能为0

    private ArrayList<SensorInfo> sensorList; //探测到此目标的传感器guid列表

}
